<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>文件上传</title>
</head>
<body>
<form th:action="@{file/save}" th:object="${contact}" method="POST" >
    <div class="down">
        <input type="text" placeholder="姓名" th:field="${contact.name}">
    </div>
    <div class="down">
        <input type="text" placeholder="学号" th:field="${contact.phone}">
    </div>
    <div class="down">
        <input type="text" placeholder="学号" th:field="${contact.abnormal}">
    </div>
    <div class="down">
        <input type="text" placeholder="学号" th:field="${contact.address}">
    </div>
   <br>
<!--    <button type="submit">新建反馈</button>-->

    <form method="post" th:action="@{/uploadFile}" enctype="multipart/form-data">
    <input type="file" name="file">
    <br><br>
    <input type="submit" value="提交 ">
</form></form>
</body>
</html>
